From 6d4c50a51b7a19803e43235d7185f0875f42aaed Mon Sep 17 00:00:00 2001 From: Rotem Liss Date: Tue, 30 Oct 2007 09:48:36 +0000 Subject: [PATCH] Removing a comment, throwing the exception after creating it. --- includes/SpecialUpload.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/includes/SpecialUpload.php b/includes/SpecialUpload.php index 5eed9ad3d8..9ef7bd43f9 100644 --- a/includes/SpecialUpload.php +++ b/includes/SpecialUpload.php @@ -345,10 +345,7 @@ class UploadForm { break; default: - /* TODO: Each case returns instead of breaking to maintain the highest level of compatibility during branch merging. - They should be reviewed and corrected separatelly. - */ - new MWException( __METHOD__ . ": Unknown value `{$value}`" ); + throw new MWException( __METHOD__ . ": Unknown value `{$value}`" ); } } -- 2.20.1